package com.huike.xingxing.bean;

import java.util.List;

public class User {


    /**
     * code : 1
     * msg : 聊天人
     * time : 1583054941
     * data : [{"id":8,"name":"rootsa","password":"123100qq","authtype":"mom","head_image":"/uploads/init/aa.jpeg","authtype_text":"Authtype mom"},{"id":9,"name":"roott","password":"123100qq","authtype":"mom","head_image":"/uploads/init/aa.jpeg","authtype_text":"Authtype mom"},{"id":10,"name":"roott1","password":"123100qq","authtype":"mom","head_image":"/uploads/init/aa.jpeg","authtype_text":"Authtype mom"}]
     */

    private int code;
    private String msg;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 8
         * name : rootsa
         * password : 123100qq
         * authtype : mom
         * head_image : /uploads/init/aa.jpeg
         * authtype_text : Authtype mom
         */

        private int id;
        private String name;
        private String password;
        private String authtype;
        private String head_image;
        private String authtype_text;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getAuthtype() {
            return authtype;
        }

        public void setAuthtype(String authtype) {
            this.authtype = authtype;
        }

        public String getHead_image() {
            return head_image;
        }

        public void setHead_image(String head_image) {
            this.head_image = head_image;
        }

        public String getAuthtype_text() {
            return authtype_text;
        }

        public void setAuthtype_text(String authtype_text) {
            this.authtype_text = authtype_text;
        }


        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", password='" + password + '\'' +
                    ", authtype='" + authtype + '\'' +
                    ", head_image='" + head_image + '\'' +
                    ", authtype_text='" + authtype_text + '\'' +
                    '}';
        }
    }
}
